home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / blobarrelfrag.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  90 lines

  1. // defines the fragmented blobarrel
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_BLOBARRELFRAG_GSH
  8. #define INCLUDED_BLOBARRELFRAG_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_blobarrelfrag
  15. {
  16.     file    "objects\blobarrelfrag.rif"
  17.     name    "blobarrelfrag"
  18.     hotspot none
  19. }
  20.  
  21. role Rol_blobarrelfrag : Rol_FragObject
  22. {
  23.     shape       Hcy_blobarrelfrag
  24.     identifier "blobarrelfrag"
  25. }
  26.  
  27. frag data Frg_blobarrelfrag
  28. {
  29.     role Rol_blobarrelfrag
  30.     scale 7
  31.     blast range 4
  32.     blast damage 20
  33. }
  34.  
  35. shape Shp_blobarrel
  36. {
  37.     file "objects\blobarrel.rif"
  38.     name "blobarrel"
  39. }
  40.  
  41. character Chr_blobarrel : Chr_Default
  42. {
  43.     strength        20    // initial strength points
  44.     turning speed   0    // this is in revolutions per second
  45.     walking speed   0    // this is in animation cycles per second
  46.     weapon          plasmatrix
  47.     aim             0    // how many degrees off target he can be at most
  48.     sight angle    0    // in degrees
  49.     sight range     0    // in metres
  50.     hearing range    0    // in metres
  51.     aggression    0    // from 0 to 1
  52.     radius        1    // used by the movement model
  53. }
  54.  
  55. character Chr_trainingblobarrel : Chr_Default
  56. {
  57.     strength        15    // initial strength points
  58.     turning speed   0    // this is in revolutions per second
  59.     walking speed   1    // this is in animation cycles per second
  60.     weapon          plasmatrix
  61.     aim             0    // how many degrees off target he can be at most
  62.     sight angle    0    // in degrees
  63.     sight range     8    // in metres
  64.     hearing range    0    // in metres
  65.     aggression    0    // from 0 to 1
  66.     radius        1    // used by the movement model
  67. }
  68. role Rol_blobarrel : Rol_PlacedObject
  69. {
  70.     character    Chr_blobarrel
  71.     shape         Shp_blobarrel
  72.     destructibility     Frg_blobarrelfrag
  73.     identifier     "blobarrel"
  74.     ai        blocker
  75.     armour         1
  76. }
  77. role Rol_trainingblobarrel : Rol_PlacedObject
  78. {
  79.     character    Chr_trainingblobarrel
  80.     shape         Shp_blobarrel
  81.     destructibility     Frg_blobarrelfrag
  82.     identifier     "trainingblobarrel"
  83.     ai        blocker
  84.     armour         1
  85. }
  86. ////////////////////////////////////////////////////////////////////////////////////
  87.  
  88. // end wrapper - for preventing multiple or recursive inclusions
  89. #endif // !INCLUDED_FRAGCRATE_GSH
  90.